package com.lxmes.gs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目产品对象 gs_project_product
 * 
 * @author wdf
 * @date 2023-04-24
 */
@Data
@TableName("gs_project_product")
public class ProjectProduct{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 立项编号 */
    @TableField(value = "approval_code",condition = SqlCondition.LIKE)
    private String approvalCode;

    /** 立项名称 */
    @TableField(value = "approval_name",condition = SqlCondition.LIKE)
    private String approvalName;

    /** 产品类别 */
    @TableField(value = "product_category")
    private String productCategory;

    /** 产品分类 */
    @TableField(value = "product_classification")
    private String productClassification;

    /** 产品大类 */
    @TableField(value = "product_type")
    private String productType;

    /** 产品编号 */
    @TableField(value = "product_no",condition = SqlCondition.LIKE)
    private String productNo;

    /** 产品名称 */
    @TableField(value = "product_name",condition = SqlCondition.LIKE)
    private String productName;

    /** 规格型号 */
    @TableField(value = "product_specification",condition = SqlCondition.LIKE)
    private String productSpecification;

    /** 工艺状况 */
    @TableField(value = "process_status")
    private String processStatus;

    /** 研发数量 */
    @TableField(value = "rnd_quantity")
    private Long rndQuantity;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "scheduling_date")
    private Date schedulingDate;

    /** 排产数量 */
    @TableField(value = "scheduling_quantity")
    private Long schedulingQuantity;

    /** 未排数量 */
    @TableField(value = "unscheduled_quantity")
    private Long unscheduledQuantity;

    /** 排产状况 */
    @TableField(value = "scheduling_status")
    private String schedulingStatus;
    
    /** 是否排产 */
    @TableField(value = "production_schedule")
    private String productionSchedule;
    
    /** 备注 */
    @TableField(value = "remark")
    private String remark;


}
